package com.shangguan.springboot.service;

import com.shangguan.springboot.entity.TPermissions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TPermissionsService{


    int deleteByPrimaryKey(Integer permissionsId);

    int insert(TPermissions record);

    int insertSelective(TPermissions record);

    TPermissions selectByPrimaryKey(Integer permissionsId);

    int updateByPrimaryKeySelective(TPermissions record);

    int updateByPrimaryKey(TPermissions record);
    List<TPermissions> findTpermissionsByRoleId(@Param("roleId") int roleId);

}
